package com.librarysys.dao;

import com.librarysys.entity.Booktype;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface BooktypeMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Booktype record);

    int insertSelective(Booktype record);

    Booktype selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Booktype record);

    int updateByPrimaryKey(Booktype record);

    List<Booktype> selectAll();

    List<Booktype> selectByName(String name);
}